﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPMS.Commons.Logging
{
    /// <summary>
    /// 日志对象工厂
    /// </summary>
    /// <remarks>用于创建日志对象</remarks>
    /// <history>
    /// [zanezeng]               2009/9/22 13:40    创建
    /// </history>
    public interface ILogFactory
    {
        /// <summary>
        /// 获得给定名称的日志对象
        /// </summary>
        /// <param name="logName">要获得的日志对象的名称</param>
        /// <returns>获得的给定名称的日志对象</returns>
        /// <remarks></remarks>
        /// <history>
        /// [zanezeng]               2009/9/22 13:40    创建
        /// </history>
        ILog GetLog(string logName);
    }
}
